﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class NguoiDungDTO
    {
        private int _maNguoiDung;

        public int MaNguoiDung
        {
            get { return _maNguoiDung; }
            set { _maNguoiDung = value; }
        }
        private string _tenNguoiDung;

        public string TenNguoiDung
        {
            get { return _tenNguoiDung; }
            set { _tenNguoiDung = value; }
        }
        private string _matKhau;

        public string MatKhau
        {
            get { return _matKhau; }
            set { _matKhau = value; }
        }
        private string _email;

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        private string _dienThoai;

        public string DienThoai
        {
            get { return _dienThoai; }
            set { _dienThoai = value; }
        }
        private string _diaChi;

        public string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }
        private string _maKichHoatTaiKhoan;

        public string MaKichHoatTaiKhoan
        {
            get { return _maKichHoatTaiKhoan; }
            set { _maKichHoatTaiKhoan = value; }
        }
        private string _tinhTrangKichHoatTaiKhoan;

        public string TinhTrangKichHoatTaiKhoan
        {
            get { return _tinhTrangKichHoatTaiKhoan; }
            set { _tinhTrangKichHoatTaiKhoan = value; }
        }
        private DateTime _thoiGianDangKy;

        public DateTime ThoiGianDangKy
        {
            get { return _thoiGianDangKy; }
            set { _thoiGianDangKy = value; }
        }
        private DateTime _thoiGianHetHan;

        public DateTime ThoiGianHetHan
        {
            get { return _thoiGianHetHan; }
            set { _thoiGianHetHan = value; }
        }
        private int _maLoaiNguoiDung;

        public int MaLoaiNguoiDung
        {
            get { return _maLoaiNguoiDung; }
            set { _maLoaiNguoiDung = value; }
        }
        private int _maGiaoDien;

        public int MaGiaoDien
        {
            get { return _maGiaoDien; }
            set { _maGiaoDien = value; }
        }
        private int _deleted;

        public int Deleted
        {
            get { return _deleted; }
            set { _deleted = value; }
        }

        public NguoiDungDTO(int maND, string tenND, string matKhau, string email, string dienThoai, string diaChi,
            string maKichHoatTK, string tinhTrangTaiKhoan, DateTime tgDKy, DateTime tgHethan, int maLoaiND,
            int maGiaoDien, int del)
        {
            _maNguoiDung = maND;
            _tenNguoiDung = tenND;
            _matKhau = matKhau;
            _email = email;
            _dienThoai = dienThoai;
            _diaChi = diaChi;
            _maKichHoatTaiKhoan = maKichHoatTK;
            _tinhTrangKichHoatTaiKhoan = tinhTrangTaiKhoan;
            _thoiGianDangKy = tgDKy;
            _thoiGianHetHan = tgHethan;
            _maLoaiNguoiDung = maLoaiND;
            _maGiaoDien = maGiaoDien;
            _deleted = del;
        }
        public NguoiDungDTO()
        {
            //_maNguoiDung = NULL;
        }
    }
}
